<?php
  echo $this->Html->css('user_center');
?>
    <div id="personalPage">
<?php
    echo $this->Session->flash('auth'); 
    echo $this->Session->flash();
    echo $this->element('user_nav').'<div class="clearFix"></div>';
?>
<div id="myRecipes">
<?php 

if (count($follows) == 0) echo '<div class="noContent">还没有好友呐<br />╮(╯▽╰)╭</div>';
else foreach ($follows as $follow):
?>
      <div class="recipeItem" style="width:150px;height:200px;">
        <?php
              echo $this->Html->link($this->Html->Image(
                $follow['User']['url'],
                array('width'=>'150','height'=>'150')).'<br />'.$follow['User']['username'],
                array('controller'=>'users','action' => 'userCenter', $follow['User']['id']),
                array('escape' => false)
              );
        ?>
        <div class="operation">
          <?php echo $this->Html->link(
              '移除关注',
              array('controller'=>'users',
              'action' => 'deleteFollow',
              $follow['Follow']['id']),
              array(),
              '确定移除关注么？'
            );
          ?>
        </div>
      </div>
<?php endforeach; ?>
</div>
<div class="clearFix"></div>
<?php 
  echo $this->element('paginator');
?>
</div>